/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.entity.mobile;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 号码归属Entity
 * @author jin
 * @version 2018-04-16
 */
public class Mobile extends DataEntity<Mobile> {
	
	private static final long serialVersionUID = 1L;
	private String mobile;		// mobile
	private String provice;		// provice
	private String city;		// city
	private String corp;		// corp
	private String areacode;		// areacode
	private String postcode;		// postcode
	
	public Mobile() {
		super();
	}

	public Mobile(String id){
		super(id);
	}

	@Length(min=0, max=50, message="mobile长度必须介于 0 和 50 之间")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@Length(min=0, max=50, message="provice长度必须介于 0 和 50 之间")
	public String getProvice() {
		return provice;
	}

	public void setProvice(String provice) {
		this.provice = provice;
	}
	
	@Length(min=0, max=50, message="city长度必须介于 0 和 50 之间")
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
	
	@Length(min=0, max=50, message="corp长度必须介于 0 和 50 之间")
	public String getCorp() {
		return corp;
	}

	public void setCorp(String corp) {
		this.corp = corp;
	}
	
	@Length(min=0, max=50, message="areacode长度必须介于 0 和 50 之间")
	public String getAreacode() {
		return areacode;
	}

	public void setAreacode(String areacode) {
		this.areacode = areacode;
	}
	
	@Length(min=0, max=50, message="postcode长度必须介于 0 和 50 之间")
	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	
}